<template>
	<view class="customed-user">
		<view class="customed-user_item" v-for="index in 15" :key="index"
			@click="$rui.route('/pages/trip/guide/guide')">
			<view class="customed-user_item_label">
				全域玩家
			</view>
			<view class="customed-user_item_top">
				<image class="customed-user_item_top_img" src="/static/images/service.png" mode="widthFix"></image>
				<image class="customed-user_item_top_bg" src="/static/images/guide_bg.jpg" mode=""></image>
			</view>
			<view class="customed-user_item_career">
				草原旅行策划师
			</view>
			<view class="customed-user_item_info">
				<view class="customed-user_item_info_name">
					覃海
				</view>
				<view class="customed-user_item_info_tag">
					<view class="customed-user_item_info_tag_li">
						亲近自然
					</view>
					<view class="customed-user_item_info_tag_li">
						历史人文
					</view>
				</view>
				<view class="customed-user_item_info_bottom">
					<view class="customed-user_item_info_bottom_score">
						4.8分
					</view>
					<view class="customed-user_item_info_bottom_number">
						300人出行
					</view>
				</view>
			</view>

		</view>
	</view>
</template>

<script>

</script>

<style lang="scss" scoped>
	.customed-user {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		padding: 20rpx;

		&_item {
			width: calc(50% - 10rpx);
			background: #fff;
			margin-bottom: 20rpx;
			border-radius: 10rpx;
			overflow: hidden;
			position: relative;

			&_label {
				position: absolute;
				top: 0;
				left: 0;
				background: linear-gradient(45deg, #006a8a, #03bef7);
				color: #fff;
				border-bottom-right-radius: 20rpx;
				padding: 4rpx 10rpx;
				font-size: 24rpx;
			}

			&_career {
				background: linear-gradient(to right, #d9f4ff, #fff);
				padding: 8rpx 15rpx;
				color: var(--color);
			}

			&_top {
				height: 300rpx;
				overflow: hidden;
				position: relative;

				&_bg {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
				}

				&_img {
					width: 100%;
					height: inherit;
					position: relative;
					z-index: 2;
				}
			}

			&_info {
				padding: 20rpx;

				&_bottom {
					display: flex;
					align-items: center;

					&_score {
						margin-right: 30rpx;
						color: var(--color);
						font-size: 32rpx;
					}

					&_number {
						font-size: 24rpx;
					}
				}

				&_tag {
					display: flex;
					margin: 10rpx 0;

					&_li {
						background: #f7f8f9;
						margin-right: 15rpx;
						font-size: 20rpx;
						color: #888;
						padding: 2rpx 10rpx;
						border-radius: 5rpx;
					}
				}

				&_name {
					font-weight: bold;
					font-size: 32rpx;
				}
			}
		}
	}
</style>